package com.qidian.mes.sys.service;

import com.qidian.mes.util.pojo.QdResult;
import org.springframework.transaction.annotation.Isolation;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

/**
 * @Author 小可怎么都睡不够
 * @Company 起点编程
 * @Description
 * @Time 2024/4/7 10:50
 */
@Transactional(
        isolation = Isolation.DEFAULT,
        propagation = Propagation.REQUIRED
)
public interface EncodingRulesService {
    /**
     * 根据规则的名称得到最新的编码
     * @param ruleName
     * @return
     */
    QdResult query(String ruleName);
}
